$OpenBSD: patch-config_h_in,v 1.8 2017/01/18 21:28:35 naddy Exp $
--- config.h.in.orig	Fri Dec 30 12:27:05 2016
+++ config.h.in	Wed Jan 18 21:21:16 2017
@@ -365,7 +365,11 @@
 
 /* Define to 1 if the system supports fast unaligned access to 16-bit and
    32-bit integers. */
-#undef TUKLIB_FAST_UNALIGNED_ACCESS
+#include <sys/types.h>
+#if !defined(__STRICT_ALIGNMENT)
+#define \
+    TUKLIB_FAST_UNALIGNED_ACCESS 1
+#endif
 
 /* Define to 1 if the amount of physical memory can be detected with
    _system_configuration.physmem. */
